using Game.Main.Model;

namespace Game.Component
{
	public class CreditCardItem : BaseItem
	{
		public override void Init(ItemArchiveData data)
		{
			base.Init(data);
		}

		protected override void OnItemTriggerEnter(ColliderData collData)
		{
			base.OnItemTriggerEnter(collData);
			if (collData.item != null && collData.item.itemData.scriptType == 139)
			{
				((POSItem)collData.item).SwipingCard();
			}
		}
	}
}
